package com.bdm.property.management.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * @Author: MAD4O
 * @Date: 2020/8/22 16:00
 * @Description: 
 */
@Data
@TableName(value = "pay")
public class Pay implements Serializable {
    /**
     * 缴费记录编号
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 缴费时间
     */
    @TableField(value = "time")
    private Date time;

    /**
     * 缴费状态
     */
    @TableField(value = "status")
    private Integer status;

    /**
     * 总费用
     */
    @TableField(value = "total")
    private Double total;

    /**
     * 水费
     */
    @TableField(value = "water")
    private Double water;

    /**
     * 电费
     */
    @TableField(value = "cable")
    private Double cable;

    /**
     * 停车费
     */
    @TableField(value = "park")
    private Double park;

    /**
     * 维修费用
     */
    @TableField(value = "repair")
    private Double repair;

    /**
     * 公摊费用
     */
    @TableField(value = "we")
    private Double we;

    /**
     * 处理人姓名
     */
    @TableField(value = "hander")
    private String hander;

    /**
     * 业主编号，获得缴费信息
     */
    @TableField(value = "ownerid")
    private Long ownerid;

    /**
     * 备注信息
     */
    @TableField(value = "remark")
    private String remark;

    private static final long serialVersionUID = 1L;

    public static final String COL_ID = "id";

    public static final String COL_TIME = "time";

    public static final String COL_STATUS = "status";

    public static final String COL_TOTAL = "total";

    public static final String COL_WATER = "water";

    public static final String COL_CABLE = "cable";

    public static final String COL_PARK = "park";

    public static final String COL_REPAIR = "repair";

    public static final String COL_WE = "we";

    public static final String COL_HANDER = "hander";

    public static final String COL_OWNERID = "ownerid";

    public static final String COL_REMARK = "remark";
}